home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Misc / InstallerNG / developer / gui / example / igui_EmptyPanel.c < prev    next >
C/C++ Source or Header  |  1999-10-28  |  1KB  |  55 lines

  1.  
  2. #include "includes.h"
  3. #include "installergui_data.h"
  4.  
  5. /********************************************************************
  6.  *
  7.  *  DESCRIPTION
  8.  *
  9.  *  this function cleans the GUI; i.e. it removes a content (as it
  10.  *  may be set by igui_Ask* functions) from the InstallerNG window
  11.  *  and clears the help text.
  12.  *
  13.  *  IN:  application - pointer to the private application structure
  14.  *  OUT: -
  15.  *
  16.  */
  17.  
  18. /********************************************************************
  19.  *
  20.  *  STATIC
  21.  *
  22.  */
  23.  
  24. /********************************************************************
  25.  *
  26.  *  EXTERN
  27.  *
  28.  */
  29.  
  30. /********************************************************************
  31.  *
  32.  *  PUBLIC
  33.  *
  34.  */
  35.  
  36. /********************************************************************
  37.  *
  38.  *  CODE
  39.  *
  40.  */
  41.  
  42. void __asm igui_EmptyPanel(register __a0 APTR application)
  43. {
  44.   #ifdef DEBUG
  45.   DEBUG_MAKRO
  46.   #endif
  47.  
  48.   guistuff_NewContent(application, HVSpace);
  49.  
  50.   // remove the help text, cause this panel does not have any help
  51.   // and the function gets called by others to remove the content
  52.   // of the other functions
  53.   igui_SetHelp(application, ((struct Application *) application)->app_Texts[EMPTY]);
  54. }
  55.